/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.designpatterns.creational.abstractfactory;

/**
 *
 * @author BassonCJ
 */
public class Doctor implements Person{
    private Long doctorID;
    private String age;
    private String lastName;
    private String firstName;
    
    public Long getDoctorID() {
        return doctorID;
    }

    public void setDoctorID(Long doctorID) {
        this.doctorID = doctorID;
    }    

    @Override
    public String getAge() {
        return age;
    }

    @Override
    public void setAge(String age) {
        this.age = age;
    }

    @Override
    public String getFirstName() {
        return firstName;
    }

    @Override
    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    @Override
    public String getLastName() {
        return lastName;
    }

    @Override
    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    @Override
    public String description() {
        return String.format("Name: %s\nSurname: %s\nAge: %s\nDoctor ID: %d", firstName, lastName, age, doctorID);
    } 
    
    
}
